<%@ page import="com.bean.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>博客后台头部</title>
    <style type="text/css">
        BODY {
            MARGIN: 0px;
            BACKGROUND-COLOR: mediumpurple;
        }

        BODY {
            FONT-SIZE: 12px;
            COLOR: #000000
        }

        TD {
            FONT-SIZE: 12px;
            COLOR: #000000
        }

        TH {
            FONT-SIZE: 12px;
            COLOR: #000000
        }
        .height1{
            width:100%;
            height:74px;
        }

        .img_logo{
            min-width:100%;
            max-width:100%;
            height:74px;
        }


    </style>
    <link href="${pageContext.request.contextPath}/admin/css/Style.css"
          rel="stylesheet" type="text/css">
<%--    <script type="text/javascript">--%>
<%--        function exitSys() {--%>
<%--            var flag = window.confirm("确认退出系统吗?");--%>
<%--            if (flag) {--%>
<%--                // window.top.open('', '_parent', '');--%>
<%--                // window.top.close();--%>
<%--               --%>
<%--                window.top.location = "http://localhost:8088";--%>
<%--            }--%>
<%--        }--%>
<%--    </script>--%>
</head>
<body>
<div class="height1">
    <img class="img_logo" src="${pageContext.request.contextPath}/admin/images/houtaibcg.jpg">
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="26" valign="bottom"
            background="${pageContext.request.contextPath}/admin/images/mis_01.jpg">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="85%" align="left">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <font color="#f5f5f5">
                            <script language="JavaScript">
                                tmpDate = new Date();
                                date = tmpDate.getDate();
                                month = tmpDate.getMonth() + 1;
                                year = tmpDate.getFullYear();
                                document.write(year);
                                document.write("年");
                                document.write(month);
                                document.write("月");
                                document.write(date);
                                document.write("日 ");

                                myArray = new Array(6);
                                myArray[0] = "星期日"
                                myArray[1] = "星期一"
                                myArray[2] = "星期二"
                                myArray[3] = "星期三"
                                myArray[4] = "星期四"
                                myArray[5] = "星期五"
                                myArray[6] = "星期六"
                                weekday = tmpDate.getDay();
                                if (weekday == 0 | weekday == 6) {
                                    document.write(myArray[weekday])
                                } else {
                                    document.write(myArray[weekday])
                                };
                            </script>
                        </font>
                    </td>
                    <td width="15%">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td height="22" width="8" background="${pageContext.request.contextPath}/admin/images/mis_05b.jpg">
                                    <img src="${pageContext.request.contextPath}/admin/images/mis_05b.jpg" width="6" height="18">
                                </td>
                                <td width="1" valign="bottom" background="${pageContext.request.contextPath}/admin/images/mis_05b.jpg">
                                    <font color="#f5deb3">
                                        <a href="/loginOut">退出登录</a>

                                    </font></td>
                                <td width="1" align="right" background="${pageContext.request.contextPath}/admin/images/mis_05b.jpg">
<%--                                    <img src="${pageContext.request.contextPath}/admin/images/mis_05b.jpg" width="6" height="18">--%>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td align="right" width="5%"></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</body>
</html>
